EverGrandeCity_ChampionsRoom_MapScripts:: @ 815B7AF
	map_script 3, EverGrandeCity_ChampionsRoom_MapScript1_15B7BF
	map_script 4, EverGrandeCity_ChampionsRoom_MapScript2_15B7C5
	map_script 2, EverGrandeCity_ChampionsRoom_MapScript2_15B7D4
	.byte 0

EverGrandeCity_ChampionsRoom_MapScript1_15B7BF:: @ 815B7BF
	call EverGrandeCity_ChampionsRoom_EventScript_1A014E
	end

EverGrandeCity_ChampionsRoom_MapScript2_15B7C5:: @ 815B7C5
	map_script_2 VAR_TEMP_1, 0, EverGrandeCity_ChampionsRoom_EventScript_15B7CF
	.2byte 0

EverGrandeCity_ChampionsRoom_EventScript_15B7CF:: @ 815B7CF
	turnobject 255, 2
	end

EverGrandeCity_ChampionsRoom_MapScript2_15B7D4:: @ 815B7D4
	map_script_2 VAR_TEMP_1, 0, EverGrandeCity_ChampionsRoom_EventScript_15B7DE
	.2byte 0

EverGrandeCity_ChampionsRoom_EventScript_15B7DE:: @ 815B7DE
	lockall
	applymovement 255, EverGrandeCity_ChampionsRoom_Movement_1A084E
	waitmovement 0
	delay 40
	applymovement 255, EverGrandeCity_ChampionsRoom_Movement_15B802
	waitmovement 0
	setvar VAR_TEMP_1, 1
	goto EverGrandeCity_ChampionsRoom_EventScript_15B805
	releaseall
	end

EverGrandeCity_ChampionsRoom_Movement_15B802:: @ 815B802
	walk_up
	walk_up
	end_movement

EverGrandeCity_ChampionsRoom_EventScript_15B805:: @ 815B805
	playbgm MUS_DAIGO, FALSE
	msgbox EverGrandeCity_ChampionsRoom_Text_190F9C, 4
	trainerbattle 3, TRAINER_STEVEN, 0, EverGrandeCity_ChampionsRoom_Text_1910A0
	goto EverGrandeCity_ChampionsRoom_EventScript_15B821
	end

EverGrandeCity_ChampionsRoom_EventScript_15B821:: @ 815B821
	playse SE_DOOR
	setmetatile 6, 1, METATILE_EliteFour_OpenDoorChampion_Frame, 0
	setmetatile 6, 2, METATILE_EliteFour_OpenDoorChampion_Opening, 0
	special DrawWholeMapView
	msgbox EverGrandeCity_ChampionsRoom_Text_1910FE, 4
	closemessage
	playse SE_DOOR
	checkplayergender
	compare VAR_RESULT, 0
	call_if_eq EverGrandeCity_ChampionsRoom_EventScript_15B87C
	compare VAR_RESULT, 1
	call_if_eq EverGrandeCity_ChampionsRoom_EventScript_15B881
	addobject 2
	call EverGrandeCity_ChampionsRoom_EventScript_15B9BD
	checkplayergender
	compare VAR_RESULT, 0
	goto_if_eq EverGrandeCity_ChampionsRoom_EventScript_15B886
	compare VAR_RESULT, 1
	goto_if_eq EverGrandeCity_ChampionsRoom_EventScript_15B8BB
	end

EverGrandeCity_ChampionsRoom_EventScript_15B87C:: @ 815B87C
	playbgm MUS_GIRL_SUP, FALSE
	return

EverGrandeCity_ChampionsRoom_EventScript_15B881:: @ 815B881
	playbgm MUS_BOY_SUP, FALSE
	return

EverGrandeCity_ChampionsRoom_EventScript_15B886:: @ 815B886
	msgbox EverGrandeCity_ChampionsRoom_Text_191225, 4
	delay 40
	playse SE_PIN
	applymovement 2, EverGrandeCity_ChampionsRoom_Movement_1A0833
	waitmovement 0
	applymovement 2, EverGrandeCity_ChampionsRoom_Movement_1A0835
	waitmovement 0
	call EverGrandeCity_ChampionsRoom_EventScript_15B9D2
	msgbox EverGrandeCity_ChampionsRoom_Text_191268, 4
	goto EverGrandeCity_ChampionsRoom_EventScript_15B8F0
	end

EverGrandeCity_ChampionsRoom_EventScript_15B8BB:: @ 815B8BB
	msgbox EverGrandeCity_ChampionsRoom_Text_1912B3, 4
	delay 40
	playse SE_PIN
	applymovement 2, EverGrandeCity_ChampionsRoom_Movement_1A0833
	waitmovement 0
	applymovement 2, EverGrandeCity_ChampionsRoom_Movement_1A0835
	waitmovement 0
	call EverGrandeCity_ChampionsRoom_EventScript_15B9D2
	msgbox EverGrandeCity_ChampionsRoom_Text_191305, 4
	goto EverGrandeCity_ChampionsRoom_EventScript_15B8F0
	end

EverGrandeCity_ChampionsRoom_EventScript_15B8F0:: @ 815B8F0
	closemessage
	addobject 3
	applymovement 3, EverGrandeCity_ChampionsRoom_Movement_15BA03
	waitmovement 0
	applymovement 255, EverGrandeCity_ChampionsRoom_Movement_1A0843
	waitmovement 0
	msgbox EverGrandeCity_ChampionsRoom_Text_19134D, 4
	call EverGrandeCity_ChampionsRoom_EventScript_1A03B0
	msgbox EverGrandeCity_ChampionsRoom_Text_1914C6, 4
	applymovement 1, EverGrandeCity_ChampionsRoom_Movement_1A0841
	waitmovement 0
	delay 20
	applymovement 1, EverGrandeCity_ChampionsRoom_Movement_1A0845
	waitmovement 0
	msgbox EverGrandeCity_ChampionsRoom_Text_191512, 4
	closemessage
	delay 30
	applymovement 1, EverGrandeCity_ChampionsRoom_Movement_15B9FB
	applymovement 255, EverGrandeCity_ChampionsRoom_Movement_15B9DD
	applymovement 3, EverGrandeCity_ChampionsRoom_Movement_1A0841
	applymovement 2, EverGrandeCity_ChampionsRoom_Movement_15B9F8
	waitmovement 0
	delay 20
	applymovement 255, EverGrandeCity_ChampionsRoom_Movement_1A0845
	waitmovement 0
	msgbox EverGrandeCity_ChampionsRoom_Text_191546, 4
	checkplayergender
	compare VAR_RESULT, 0
	call_if_eq EverGrandeCity_ChampionsRoom_EventScript_15B9AB
	compare VAR_RESULT, 1
	call_if_eq EverGrandeCity_ChampionsRoom_EventScript_15B9B4
	closemessage
	applymovement 1, EverGrandeCity_ChampionsRoom_Movement_15B9FF
	applymovement 255, EverGrandeCity_ChampionsRoom_Movement_15B9E0
	waitmovement 0
	setflag FLAG_HIDE_PETALBURG_GYM_GUIDE
	warp MAP_EVER_GRANDE_CITY_HALL_OF_FAME, 255, 7, 16
	waitstate
	releaseall
	end

EverGrandeCity_ChampionsRoom_EventScript_15B9AB:: @ 815B9AB
	msgbox EverGrandeCity_ChampionsRoom_Text_1915D7, 4
	return

EverGrandeCity_ChampionsRoom_EventScript_15B9B4:: @ 815B9B4
	msgbox EverGrandeCity_ChampionsRoom_Text_191675, 4
	return

EverGrandeCity_ChampionsRoom_EventScript_15B9BD:: @ 815B9BD
	applymovement 2, EverGrandeCity_ChampionsRoom_Movement_15B9E6
	waitmovement 0
	applymovement 255, EverGrandeCity_ChampionsRoom_Movement_1A083F
	waitmovement 0
	return

EverGrandeCity_ChampionsRoom_EventScript_15B9D2:: @ 815B9D2
	applymovement 2, EverGrandeCity_ChampionsRoom_Movement_15B9EF
	waitmovement 0
	return

EverGrandeCity_ChampionsRoom_Movement_15B9DD:: @ 815B9DD
	walk_up
	walk_up
	end_movement

EverGrandeCity_ChampionsRoom_Movement_15B9E0:: @ 815B9E0
	walk_up
	delay_16
	walk_up
	delay_8
	set_invisible
	end_movement

EverGrandeCity_ChampionsRoom_Movement_15B9E6:: @ 815B9E6
	walk_up
	walk_up
	walk_up
	walk_up
	walk_up
	walk_left
	walk_up
	walk_in_place_fastest_right
	end_movement

EverGrandeCity_ChampionsRoom_Movement_15B9EF:: @ 815B9EF
	walk_in_place_fastest_up
	delay_16
	walk_in_place_fastest_right
	delay_16
	walk_in_place_fastest_up
	delay_8
	walk_in_place_fastest_right
	delay_16
	end_movement

EverGrandeCity_ChampionsRoom_Movement_15B9F8:: @ 815B9F8
	walk_right
	walk_up
	end_movement

EverGrandeCity_ChampionsRoom_Movement_15B9FB:: @ 815B9FB
	walk_up
	walk_up
	walk_in_place_fastest_down
	end_movement

EverGrandeCity_ChampionsRoom_Movement_15B9FF:: @ 815B9FF
	walk_up
	delay_8
	set_invisible
	end_movement

EverGrandeCity_ChampionsRoom_Movement_15BA03:: @ 815BA03
	walk_up
	walk_up
	walk_up
	walk_up
	walk_up
	walk_right
	walk_up
	walk_in_place_fastest_left
	end_movement
